import 'package:flutter/material.dart';

class BookPage extends StatefulWidget {
  const BookPage({Key? key}) : super(key: key);

  @override
  _BookPageState createState() => _BookPageState();
}

class _BookPageState extends State<BookPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Book Page')),
      body: Center(
        child: AnimatedContainer(
          duration: Duration(seconds: 1),
          width: 200,
          height: 200,
          decoration: BoxDecoration(
              color: Colors.red,
              borderRadius: BorderRadius.circular(100),
              boxShadow: [
                BoxShadow(color: Colors.black, spreadRadius: 10, blurRadius: 25)
              ]),
          alignment: Alignment.center,
          child: TweenAnimationBuilder(
              tween: Tween<double>(begin: 0, end: 1),
              duration: Duration(seconds: 1),
              curve: Curves.bounceInOut,
              builder: (context, value, child) {
                return Text(
                  'heollo',
                  style: TextStyle(fontSize: 30 * value, color: Colors.blue),
                );
              }),
        ),
      ),
    );
  }
}
